//
//  UserManager.h
//  atlas
//
//  Created by 你好 on 17/1/4.
//  Copyright © 2017年 xyxNav. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "User.h"
#import "GlobalVar.h"


@interface UserManager : NSObject

@property (nonatomic,strong)User *user;
@property (nonatomic,copy)NSString *userToken;
@property (nonatomic,assign)BOOL isLogin;



+ (UserManager *)shareInstance;

- (void)cacheAllData;

- (void)loginWithUserId:(NSString *)userId andPassword:(NSString *)password;

- (void)getAllAlbum:(BOOL)isRefresh;

- (void)getRecommend:(BOOL)isRefresh;

- (void)getAboutInfo:(BOOL)isRefresh;

@end
